package cn.tedu.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@MapperScan("cn.tedu.order.mapper")
@SpringBootApplication//(exclude = DataSourceAutoConfiguration.class)  //排除数据源的配置文件
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

}
/*
启动 order 项目进行测试
按顺序启动服务：
Eureka 注册服务
Seata Server服务器
Easy Id Generator发号器
Order 模块
访问路径：http://localhost:8083/create?userId=1&productId=1&count=10&money=100
 */